<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="../css/shejishi.css">
  <link rel="stylesheet" href="../css/style.css">
  <link rel="stylesheet" href="../common/swiper/swiper-bundle.min.css">
  <link rel="stylesheet" href="../common/bootstrap/css/bootstrap.min.css">
  <script src="../js/jquery.js"></script>

  <script src="../js/new_file.js"></script>
  <script type="text/javascript">
  	$(function(){
  		$(".cbtLeft p:first").addClass("high")
  		$(".centersbottomDown .centersbottomDowns:not(:first)").hide()
  		$(".cbtLeft p").click(function(){
  			$(this).addClass("high").siblings().removeClass("high")
  			var index = $(this).index()
  			$(".centersbottomDown .centersbottomDowns").eq(index).show().siblings().hide()
  		})
  	})
  </script>

	<script>
		function butCli() {
			a(0);
		}

		let maxPage = 0;
		let pageSize = 4;
		function a(num) {

			//收集搜索条件
			let searchKey = $("#searchKey").val();

			let fengge = $("#fengge").val();

			let page = parseInt(document.getElementById("yema").innerText);
			page +=num;
			if(page<1){
				alert("已经是第一页了")
				return false;
			}
			if(page>maxPage+1){
				alert("已经是最后一页了")
				return false;
			}
			document.getElementById("yema").innerText = page;
			$('.centerLeft').empty()
			$.get("/cms_articles",{pageNum:page, title:searchKey,b5:fengge},function (res){
				let html = "";
				res.rows.forEach(item => {
					html += `
					<div class="cbdOne flexss">
						<div class="cbdoneLeft flexss">
						<img src="${item.imgUrl1}" />
						<div class="cbdoneLefts">
						<h2>${item.title}</h2>
						<p>${item.description}</p>
						<p>
						<span>${item.remark}</span>
						${item.b1}
						<span>${item.b2}</span>
						${item.b3}
						</p>
						<p>
						<span>${item.b4}</span>
						${item.b5}
						</p>
						<p><span>${item.b6}</span>${item.b7}${item.b8}</p>
						<button>+预约设计</button>
						</div>
						</div>
						<div class="cbdoneRight flexss">`
					if(item.imgUrl2 != '' && item.imgUrl2 != null){
						html += `<img src="${item.imgUrl2}" />`
					}
					if(item.imgUrl3 != '' && item.imgUrl3 != null){
						html += `<img src="${item.imgUrl3}" />`
					}
					if(item.imgUrl4 != '' && item.imgUrl4 != null){
						html += `<img src="${item.imgUrl4}" />`
					}

							html+=`
						</div>
						</div>
					`
				})
				console.log(html);
				$(".centerLeft").html(html);
			})
		}

		function a1(num){
			let shu = num.innerText;
			$('.centerLeft').empty()
			console.log(shu);
			$.get("/cms_articles1",{b5:shu},function (res){
				let html = "";
				res.rows.forEach(item => {
					html += `
					<div class="cbdOne flexss">
						<div class="cbdoneLeft flexss">
						<img src="${item.imgUrl1}" />
						<div class="cbdoneLefts">
						<h2>${item.title}</h2>
						<p>${item.description}</p>
						<p>
						<span>${item.remark}</span>
						${item.b1}
						<span>${item.b2}</span>
						${item.b3}
						</p>
						<p>
						<span>${item.b4}</span>
						${item.b5}
						</p>
						<p><span>${item.b6}</span>${item.b7}${item.b8}</p>
						<button>+预约设计</button>
						</div>
						</div>
						<div class="cbdoneRight flexss">`
					if(item.imgUrl2 != '' && item.imgUrl2 != null){
						html += `<img src="${item.imgUrl2}" />`
					}
					if(item.imgUrl3 != '' && item.imgUrl3 != null){
						html += `<img src="${item.imgUrl3}" />`
					}
					if(item.imgUrl4 != '' && item.imgUrl4 != null){
						html += `<img src="${item.imgUrl4}" />`
					}

					html+=`
						</div>
						</div>
					`
				})
				console.log(html);
				$(".centerLeft").html(html);
			})
		}


		$(function (){
			$.ajax({
				url:"/cms_articles",
				success:function (res){
					maxPage=parseInt(res.total)/pageSize;
					a(0);
				}
			})

			$(".flexss.ulTwo>li").click(function (){
				$(this).addClass("activess").siblings().removeClass("activess");
				let shu = $(this).text();
				$('.centerLeft').empty()
				console.log(shu);
				$.get("/cms_articles1",{b1:shu},function (res){
					let html = "";
					res.rows.forEach(item => {
						html += `
					<div class="cbdOne flexss">
						<div class="cbdoneLeft flexss">
						<img src="${item.imgUrl1}" />
						<div class="cbdoneLefts">
						<h2>${item.title}</h2>
						<p>${item.description}</p>
						<p>
						<span>${item.remark}</span>
						${item.b1}
						<span>${item.b2}</span>
						${item.b3}
						</p>
						<p>
						<span>${item.b4}</span>
						${item.b5}
						</p>
						<p><span>${item.b6}</span>${item.b7}${item.b8}</p>
						<button>+预约设计</button>
						</div>
						</div>
						<div class="cbdoneRight flexss">`
						if(item.imgUrl2 != '' && item.imgUrl2 != null){
							html += `<img src="${item.imgUrl2}" />`
						}
						if(item.imgUrl3 != '' && item.imgUrl3 != null){
							html += `<img src="${item.imgUrl3}" />`
						}
						if(item.imgUrl4 != '' && item.imgUrl4 != null){
							html += `<img src="${item.imgUrl4}" />`
						}

						html+=`
						</div>
						</div>
					`
					})
					console.log(html);
					$(".centerLeft").html(html);
				})
			})




			$(".flexss.ulThree>li").click(function (){
				$(this).addClass("activess").siblings().removeClass("activess");
				let shu = $(this).text();
				$('.centerLeft').empty()
				console.log(shu);
				$.get("/cms_articles1",{b3:shu},function (res){
					let html = "";
					res.rows.forEach(item => {
						html += `
					<div class="cbdOne flexss">
						<div class="cbdoneLeft flexss">
						<img src="${item.imgUrl1}" />
						<div class="cbdoneLefts">
						<h2>${item.title}</h2>
						<p>${item.description}</p>
						<p>
						<span>${item.remark}</span>
						${item.b1}
						<span>${item.b2}</span>
						${item.b3}
						</p>
						<p>
						<span>${item.b4}</span>
						${item.b5}
						</p>
						<p><span>${item.b6}</span>${item.b7}${item.b8}</p>
						<button>+预约设计</button>
						</div>
						</div>
						<div class="cbdoneRight flexss">`
						if(item.imgUrl2 != '' && item.imgUrl2 != null){
							html += `<img src="${item.imgUrl2}" />`
						}
						if(item.imgUrl3 != '' && item.imgUrl3 != null){
							html += `<img src="${item.imgUrl3}" />`
						}
						if(item.imgUrl4 != '' && item.imgUrl4 != null){
							html += `<img src="${item.imgUrl4}" />`
						}

						html+=`
						</div>
						</div>
					`
					})
					console.log(html);
					$(".centerLeft").html(html);
				})
			})
		})
	</script>

</head>
<body>
	<div class="renovation-hearder centre">
	  <ul class="main-top centres">
	    <li><a href="#">登录/注册</a></li>
	    <li><a href="#">APP/公众号</a></li>
	    <li><a href="#">商业合作</a></li>
	    <li><a href="#">咨询热线：4000-787-012</a></li>
	  </ul>
	  <div class="main-bottom centres flex">
	    <div class="logo"><img src="../img/logo.jpg" alt=""></div>
	    <ul class="main-nav">
	      <li><a href="index">首页</a></li>
	      <li><a href="zhuangxiu">装修公司</a></li>
	      <li><a href="shejishi" class="active">设计师</a></li>
	      <li><a href="effect">效果图</a></li>
	      <li><a href="fuwu">服务</a></li>
	    </ul>
	    <div class="main-search ">
	      <div class="bule">
	        装修公司
	        <span class="glyphicon glyphicon glyphicon-triangle-bottom" aria-hidden="true"></span>
	      </div>
	      <input type="search" name="" id="" placeholder="请输入公司名称或关键字"  />
	    </div>
	  </div>
	</div><!--头部-->
	<div class="center">
		<div class="centerTop">
			<a href="#">首页</a>><a href="#">北京装修公司</a>><a href="#">共44家装修公司</a>
		</div>
		<div class="centers">
			<div class="centersTop">
				<div class="centerstopOne flexss">
					<p class="title">擅长风格:</p>
					<ul class="flexss ulOne" id="fengge">
						<li class="activess">全部</li>
						<li onclick="a1(this)"><a href="#" >现代简约</a></li>
						<li onclick="a1(this)"><a href="#">恬淡田园</a></li>
						<li onclick="a1(this)"><a href="#">新中式</a></li>
						<li onclick="a1(this)"><a href="#">欧式古典</a></li>
						<li onclick="a1(this)"><a href="#">美式</a></li>
						<li onclick="a1(this)"><a href="#">地中海</a></li>
						<li onclick="a1(this)"><a href="#">东南亚</a></li>
						<li onclick="a1(this)"><a href="#">日式</a></li>
						<li onclick="a1(this)"><a href="#">时尚混搭</a></li>
						<li onclick="a1(this)"><a href="#">新古典</a></li>
						<li onclick="a1(this)"><a href="#">简欧</a></li>
						<li onclick="a1(this)"><a href="#">韩式</a></li>
					</ul>
				</div><!--centerstopOne-->
				<div class="centerstopTwo flexss">
					<p class="title">从业时间:</p>
					<ul class="flexss ulTwo">
						<li class="activess">全部</li>
						<li><a href="#">一年</a></li>
						<li><a href="#">两年</a></li>
						<li><a href="#">三年~五年</a></li>
						<li><a href="#">五年~八年</a></li>
						<li><a href="#">八年~十年</a></li>
						<li><a href="#">十年以上</a></li>
					</ul>
				</div><!--centerstopTwo-->
				<div class="centerstopThree flexss">
					<p class="title">从业时间:</p>
					<ul class="flexss ulThree">
						<li class="activess">全部</li>
						<li><a href="#">面议</a></li>
						<li><a href="#">20元以下/m²</a></li>
						<li><a href="#">20-40元/m²</a></li>
						<li><a href="#">40-60元/m²</a></li>
						<li><a href="#">60-80元/m²</a></li>
						<li><a href="#">80-100元/m²</a></li>
						<li><a href="#">100-150元/m²</a></li>
						<li><a href="#">150-200元/m²</a></li>
						<li><a href="#">200-300元/m²</a></li>
						<li><a href="#">300-500元/m²</a></li>
					</ul>
					<input type="text" placeholder="+"/>
				</div><!--centerstopThree-->
			</div><!--centerstop-->
			<div class="centersBottom">
				<div class="centersbottomTop">
					<div class="centersbottomTops flexss">
						<div class="cbtLeft flexss">
							<p class="flexss"><img src="/img/27.jpg" class="img">活跃度</p>
							<p>时间</p>
						</div>
						<div class="cbtRight">
							<input id="searchKey" type="search" placeholder="搜索设计师"/>
							<button onclick="butCli()">查询</button>
						</div>
					</div><!--centersbottomTops-->
				</div><!--centersbottomTop-->
<!--内容-->
				<div class="centersbottomDown">
					<div class="centersbottomDowns centerLeft">
						<div class="cbdOne flexss" th:each="sjs:${modules[16].designers}">
							<div class="cbdoneLeft flexss">
								<img th:src="${sjs.imgUrl1}" />
								<div class="cbdoneLefts">
									<h2>[[${sjs.title}]]</h2>
									<p>[[${sjs.description}]]</p>
									<p>
										<span>[[${sjs.remark}]]</span>
										[[${sjs.b1}]]&nbsp;
										<span>[[${sjs.b2}]]</span>
										[[${sjs.b3}]]
									</p>
									<p>
										<span>[[${sjs.b4}]]</span>
										[[${sjs.b5}]]
									</p>
									<p><span>[[${sjs.b6}]]</span>[[${sjs.b7}]]&nbsp;&nbsp;&nbsp;&nbsp;[[${sjs.b8}]]</p>
									<button>+预约设计</button>
								</div>
							</div><!--cbdoneLeft-->
							<div class="cbdoneRight flexss">
								<img th:src="${sjs.imgUrl2}" th:if="${sjs.imgUrl2}ne''"/>
								<img th:src="${sjs.imgUrl3}" th:if="${sjs.imgUrl3}ne''"/>
								<img th:src="${sjs.imgUrl4}" th:if="${sjs.imgUrl4}ne''"/>
							</div><!--cbdoneRight-->
						</div><!--cbdOne-->
						<!--<div class="cbdOne flexss">
							<div class="cbdoneLeft flexss">
								<img src="../img/39.jpg" />
								<div class="cbdoneLefts">
									<h2>李籽</h2>
									<p>首席设计师</p>
									<p><span>设计经验：</span>五年~八年&nbsp;&nbsp;<span>设计费用：</span>80-100/m²</p>
									<p><span>擅长风格：</span>现代简约/恬淡田园/新中式</p>
									<p><span>作品：</span>7套&nbsp;&nbsp;&nbsp;&nbsp;326人预约TA</p>
									<button>+预约设计</button>
								</div>
							</div>&lt;!&ndash;cbdoneLeft&ndash;&gt;
							<div class="cbdoneRight flexss">
								<img src="../img/40.jpg" />
								<img src="../img/41.jpg" />
								<img src="../img/42.jpg" />
							</div>&lt;!&ndash;cbdoneRight&ndash;&gt;
						</div>&lt;!&ndash;cbdOne&ndash;&gt;
						<div class="cbdOne flexss">
							<div class="cbdoneLeft flexss">
								<img src="../img/43.jpg" />
								<div class="cbdoneLefts">
									<h2>赵静</h2>
									<p>主任设计师</p>
									<p><span>设计经验：</span>八年~十年&nbsp;&nbsp;<span>设计费用：</span>80-100/m²</p>
									<p><span>擅长风格：</span>现代简约/恬淡田园/新中式</p>
									<p><span>作品：</span>7套&nbsp;&nbsp;&nbsp;&nbsp;326人预约TA</p>
									<button>+预约设计</button>
								</div>
							</div>&lt;!&ndash;cbdoneLeft&ndash;&gt;
							<div class="cbdoneRight flexss">
								<img src="../img/44.jpg" />
								<img src="../img/45.jpg" />
								<img src="../img/46.jpg" />
							</div>&lt;!&ndash;cbdoneRight&ndash;&gt;
						</div>&lt;!&ndash;cbdOne&ndash;&gt;
						<div class="cbdOne flexss">
							<div class="cbdoneLeft flexss">
								<p class="black"></p>
								<div class="cbdoneLefts">
									<h2>吴培勇</h2>
									<p>首席设计师</p>
									<p><span>设计经验：</span>八年~十年&nbsp;&nbsp;<span>设计费用：</span>80-100/m²</p>
									<p><span>擅长风格：</span>现代简约/恬淡田园/新中式</p>
									<p><span>作品：</span>7套&nbsp;&nbsp;&nbsp;&nbsp;326人预约TA</p>
									<button>+预约设计</button>
								</div>
							</div>&lt;!&ndash;cbdoneLeft&ndash;&gt;
							<div class="cbdoneRight flexss">
								<img src="../img/45.jpg" />
								<img src="../img/46.jpg" />
							</div>&lt;!&ndash;cbdoneRight&ndash;&gt;
						</div>&lt;!&ndash;cbdOne&ndash;&gt;
					</div>&lt;!&ndash;centersbottomDowns&ndash;&gt;
					<div class="centersbottomDowns">
						<div class="cbdOne flexss">
							<div class="cbdoneLeft flexss">
								<img src="../img/43.jpg" />
								<div class="cbdoneLefts">
									<h2>赵静</h2>
									<p>主任设计师</p>
									<p><span>设计经验：</span>八年~十年&nbsp;&nbsp;<span>设计费用：</span>80-100/m²</p>
									<p><span>擅长风格：</span>现代简约/恬淡田园/新中式</p>
									<p><span>作品：</span>7套&nbsp;&nbsp;&nbsp;&nbsp;326人预约TA</p>
									<button>+预约设计</button>
								</div>
							</div>&lt;!&ndash;cbdoneLeft&ndash;&gt;
							<div class="cbdoneRight flexss">
								<img src="../img/44.jpg" />
								<img src="../img/45.jpg" />
								<img src="../img/46.jpg" />
							</div>&lt;!&ndash;cbdoneRight&ndash;&gt;
						</div>&lt;!&ndash;cbdOne&ndash;&gt;
						<div class="cbdOne flexss">
							<div class="cbdoneLeft flexss">
								<p class="black"></p>
								<div class="cbdoneLefts">
									<h2>吴培勇</h2>
									<p>首席设计师</p>
									<p><span>设计经验：</span>八年~十年&nbsp;&nbsp;<span>设计费用：</span>80-100/m²</p>
									<p><span>擅长风格：</span>现代简约/恬淡田园/新中式</p>
									<p><span>作品：</span>7套&nbsp;&nbsp;&nbsp;&nbsp;326人预约TA</p>
									<button>+预约设计</button>
								</div>
							</div>&lt;!&ndash;cbdoneLeft&ndash;&gt;
							<div class="cbdoneRight flexss">
								<img src="../img/45.jpg" />
								<img src="../img/46.jpg" />
							</div>&lt;!&ndash;cbdoneRight&ndash;&gt;
						</div>&lt;!&ndash;cbdOne&ndash;&gt;
						-->
					</div><!--centersbottomDowns-->
				</div><!--centersbottomDown-->

				<div class="paginations" style="text-align: center;height: 100px;justify-content: center;font-size: 20px">
					<span onclick="a(-1)" class="page_span">上一页</span>
					当前页码: <span id="yema" style="font-weight: bold">1</span>
					<span onclick="a(+1)" class="page_span">下一页</span>
				</div>

				<!--<div class="paginations">
					<ul class="pagination">
					  <li><a class="active" href="#">1</a></li>
					  <li><a href="#">2</a></li>
					  <li><a href="#">3</a></li>
					  <li><a href="#">4</a></li>
					  <li><a href="#">5</a></li>
					  <li><a href="#">...</a></li>
					</ul>
				</div>-->
			</div><!--centersBottom-->
		</div>
	</div><!--box-->
	<div class="renovation-bottom  centre">
	  <div class=" cent">
	    <div class="bottom-top ">
	      <div class="bot-left">
	        <ul class="about-bot">
	          <h5>关于我们</h5>
	          <li><a href="#">关于我们</a></li>
	          <li><a href="#">联系我们</a></li>
	          <li><a href="#"> 招贤纳士</a></li>
	          <li><a href="#">商务合作</a></li>
	        </ul>
	        <ul class="about-bot">
	          <h5>新手上路</h5>
	          <li><a href="#">免费注册</a></li>
	          <li><a href="#">免费设计</a></li>
	          <li><a href="#">免费报价</a></li>
	          <li><a href="#">牯修攻路</a></li>
	        </ul>
	        <ul class="about-bot">
	          <h5>帮助中心</h5>
	          <li><a href="#">忘记密码</a></li>
	          <li><a href="#">侵权投诉</a></li>
	          <li><a href="#">法律声明</a></li>
	          <li><a href="#">装修问答</a></li>
	        </ul>
	        <ul class="about-bot">
	          <h5>全国统一电话: <span>  4000-787-012</span></h5>
	          <li><a href="#">在线咨询:8:30-18:00</a></li>
	          <li><a href="#">业务电话:4000-7B7-012</a></li>
	          <li><a href="#"> 公司地址:山东省济南市历城区二环东路东环国际广场D做12层</a></li>

	        </ul>
	      </div>
	      <div class="bot-right">
	        <img src="../img/weweima_03.png" alt="">
	        <p>关注公众号</p>
	      </div>

	    </div>
	    <div class="bottom-center">
	      <div class="cen-top"><span>热门装修网</span>&nbsp;&nbsp; 友情链接 </div>
	      <div class="cen-bot">武汉菠修 阿合肥痿 悠网杭州 装修网 无镶装修 网青岛芒 修网兰州 搂修网地 尔滨镂悠 网沈归装 修网太原 装修网广 州荟修网 兰州装修 网|兔尔谚褛修网汰阳菽悠网太原”儋网广州眩修网武汉袭修网合肥装悠网杭洲装修网无镶裘悠网青岛茁修网兰州搂修网哈尔演偻修网沈知蔽修网太原装修网广州装修网兰州装修网耽尔演褛修网沈阳咳悠网太原碳修网广州陆修网</div>

	    </div>
	    <div class="bottom-bottom">
	      <div class="bot-wen">
	        <div>免责声明:本网站部分内容由用户自行上传，如权利人发现存在误传其作品情形，请及时与本站联系。装修之家我网保留所有权利</div>
	        <div> Copyright@2010-2021济南六度网络技术有限公司zzhijia.comALlLRightls Resenved.备案号:鲁ICP备12026533号鲁公网安备37011202000873号</div>
	      </div>
	      <div class="bot-img">
	        <img src="../img/30.jpg" alt="">
	        <img src="../img/31.jpg" alt="">
	      </div>
	    </div>
	  </div>
	</div><!--bottom-->




</body>
</html>
